package com.qiaofang.applet.service.property.service;

import com.qiaofang.applet.common.base.BaseService;
import com.qiaofang.applet.service.property.domain.District;
import com.qiaofang.applet.service.property.service.dto.DistrictAreaDto;

import java.util.List;
import java.util.Map;

public interface DistrictService extends BaseService<District, String> {

    District findByDistrictUuidAndCompanyUuid(String districtUuid, String companyUuid);

    List<District> findAllByCityCode(String cityCode);

    List<District> findAllByCityCode(String corporationCode, String cityCode);

    List<DistrictAreaDto> findAllDistrictAndArea(String corporationCode, String cityCode);

    Map<String, String> getAllDistrictMap(String corporationCode);
}

